package com.zby.openApi.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.zby.OpenApiCommon.model.entity.UserInterfaceInfoEntity;

/**
 * 用户调用接口关系
 *
 * @author zby
 * @email 2069189112@qq.com
 * @date 2023-10-15 23:13:48
 */
public interface UserInterfaceInfoService extends IService<UserInterfaceInfoEntity> {

    void validUserInterfaceInfo(UserInterfaceInfoEntity userInterfaceInfo, boolean add);

    /**
     * 调用接口统计
     * @param interfaceInfoId
     * @param userId
     * @return
     */
    boolean invokeCount(long interfaceInfoId, long userId);

}

